package com.artislong.config;

import org.springframework.boot.web.reactive.function.client.WebClientCustomizer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 陈敏
 * @version McpWebFluxClientConfiguration.java, v 1.0 2025 07 10 23:49 chenmin Exp $
 * Created on 2025 07 10
 */
@Configuration
public class McpWebFluxClientConfiguration {

    @Bean
    public WebClientCustomizer webClientCustomizer() {
        return (builder) -> builder.defaultHeader("Authorization", "Bearer eyJraWQiOiI3MmQ4ZjBkMy01ZjY0LTQ0NTMtODZjYy1lMDk4ODE4ZTFhYWQiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJtY3AtY2xpZW50IiwiYXVkIjoibWNwLWNsaWVudCIsIm5iZiI6MTc1MjIyNzAyOCwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwIiwiZXhwIjoxNzUyMjI3MzI4LCJpYXQiOjE3NTIyMjcwMjgsImp0aSI6ImNhYjhkMTI0LWI4YTctNGQwNy1hM2YwLWIzMzRjOWE5N2I0NCJ9.VhqnB-Qstm1uhLL0YYub0nGw4F41Y0GJIs6MjMnPVLCilgxEN2iGwbC7AIyzZfsOPutsxYdtgYhkRglxmsEENMkv0JD02DWoAIHuP4KtO5t4NU0zD1OPXAXOm42rR4m2Wph9iB8UIep2JFbKE5GNOZoZXC1jAF9FRBGAhmDIUbX16YstMslSe_DYAj9ARZB_HtydgoJSWgf6nEvqJldJCvugzmw7t7agfrJnY1O51i_-EYUF5NCZTv22jybCLSmDMuV5ywuu0j-csKH00UMe8Odwa1enQN8HMstP2ONDpKZ4qrtpoY14sYmV2rjkElEg4e7WPXpQdFiKYirjsstG1Q");
    }

}
